function getLength(agrs) {
  return agrs.length
}

console.log(getLength('123'))
console.log(getLength([0, 0, 0]))

console.log(getLength(123));